//
//  LiveThirdViewCell.m
//  JZMCFM
//
//  Created by lanou3g on 15/10/31.
//  Copyright (c) 2015年 陈卓. All rights reserved.
//

#import "LiveThirdViewCell.h"
#import "LiveModel.h"

@implementation LiveThirdViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}


+(CGFloat)heigth{
    
    return 100;
    
}

-(void)setDataFromNetWork:(LiveModel*)model{
    
    [self.headImage sd_setImageWithURL:[NSURL URLWithString:model.radioCoverSmall]];
    
    self.stationLable.text = model.rname;
    self.LiveStation.text = model.programName;
    
    NSString *string = [NSString stringWithFormat:@"%ld",(long)model.radioPlayCount];
    self.coountLabel.text = string;
}




@end
